/* 打卡页接口 */
import api from "./index";
/* 主题详情 */
export const themeDetail = data => api.get("/api/dkTheme/detail", data);

/* 提交打卡 */
export const submitClock = data => api.post("/api/dkLog/clock", data);

/* 顶部关卡选择 -- 主题详情和 打卡页公用 */
export const topData = data => api.get("/api/dkTheme/topData", data);

/* 更新打卡 */
export const updateClock = data => api.post("/api/dkLog/updateClock", data);

/* 更新打卡详情数据 */
export const clockLogDetail = data =>
  api.get("/api/dkLog/clockLogDetail", data);

/* 补签检查 */
export const repairClockCheck = data => api.get("/api/dkLog/checkRepair", data);

/* 补签打卡提交 */
export const reissueClock = data => api.post("/api/dkLog/repairClock", data);

// 获取精选
export const choiceness = data =>
  api.get("/api/dkActivity/getChoiceness", data);

/* 发放奖励内容获取 */
export const getBounced = data => api.get("/api/bounced/getBounced", data);

/* 通知分享 */
export const shareAward = data =>
  api.post("/api/issueReward/petalReward", data);
